home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / administ / netware / xmeter.doc < prev    next >
Text File  |  1996-07-10  |  11KB  |  346 lines

  1. Computer Tyme XMETER * Copyright 1990-91 by Marc Perkel
  2. All Rights Reserved * Version 1.6 * Release Date: 09-09-91
  3.  
  4. Computer Tyme * 411 North Sherman, Suite 300 * Springfield Mo. 65802
  5. (800) 548-5353 Sales * (417) 866-1222 Voice * (417) 866-1665 Data
  6.  
  7. Shareware Version. This program is not registered. Usage requires purchase.
  8. These programs are part of the DOS ToolBox or Network Survival Kit.
  9.  
  10. Price: $95/Server or $995 unlimited.
  11.  
  12. Usage: XMETER <Semaphore> <MaxUsers> /O/C/U/L
  13.  
  14. Semaphore is any name you want to give a semaphore.
  15. MaxUsers is the maximum number of users allowed to use the
  16. semaphore or the name of a meter list file.
  17.  
  18. /O Open semaphore.
  19. /C Close cemaphore.
  20. /U Returns number of semaphore users.
  21. /L Outputs status line for log file redirection.
  22. /E Returns number of semaphore users as an error level.
  23. /F:Name specifies log file name.
  24.  
  25.   Example: XMETER TEST 10 /O
  26.   This opens semaphore TEST if less than 10 users have it open,
  27.   otherwise to returns DOS ErrorLevel 1.
  28.  
  29. Example: XMETER TEST /C
  30.   This closes semaphore TEST allowing others to use it.
  31.  
  32. Example: XMETER TEST METER.LST /O/L/F:USAGE.LOG
  33.   This opens semaphore TEST if less than the number of users
  34.   specified in METER.LST have it open, otherwise to returns
  35.   DOS ErrorLevel 1. Log information is appended to log file
  36.   named USAGE.LOG.
  37.  
  38. XMETER is a software metering program for Novell Networks. Its
  39. simple, uses NO RAM, and does no require any VAPs or NLMs running on
  40. the server.
  41.  
  42. XMETER uses Novells semaphores to monitor program usage. What you do
  43. is create a BATCH file to load your software. You open a semaphore
  44. on the way in and close it on the way out. The batch file must be
  45. programmed to restrict access to the program. XMETER returns dos
  46. errorlevel codes to control batch files.
  47.  
  48. Example BATCH file for WordStar limited to 12 users:
  49.  
  50. @Echo Off
  51. XMETER WORDSTAR 10 /O
  52. if ErrorLevel 1 goto deny
  53.  
  54. cd\wordstar
  55. ws
  56.  
  57. rem Close Semaphore when done.
  58.  
  59. XMETER WORDSTAR /C
  60. goto e
  61.  
  62. :deny
  63. cls
  64. Echo Access Denied! All copies of WORDSTAR are in use.
  65.  
  66. rem Exit Here
  67. :e
  68.  
  69.  
  70. Using a meter list file:
  71. ------------------------
  72. XMETER can use a special text file to limit semaphore access. To use
  73. this method, substitute the name of the list file for the MaxUsers
  74. parameter as follows:
  75.  
  76. XMETER Lotus METER.LST /O
  77.  
  78. METER.LST
  79.  
  80. Lotus 10
  81. Wordstar 15
  82. dBase 9
  83.  
  84. This allows you to maintain the number of copies of each program in
  85. a single list.
  86.  
  87.  
  88. Usage Tracking:
  89. ---------------
  90.  
  91. XMETER provides usage tracking by outputing a comma delimited ascii
  92. line for each semaphore open and close. You must select the /L
  93. switch to activate this feature.
  94.  
  95. Example: XMETER TEST METER.LST /O/L/F:USAGE.LOG
  96.  
  97. This command appends the following line to the file USAGE.LOG.
  98.  
  99. "MARC","254:41","2","LOTUS","1","O","Y","08-26-90","17:43:22"
  100.  
  101. The line contains 9 fields as follows:
  102.  
  103. 1) User Name
  104. 2) Semaphore Name
  105. 3) Number of Semaphore users after execution
  106. 4) Command, O=Open C=Close
  107. 5) Success Status, Y=Success N=Failure
  108. 6) Date
  109. 7) Time
  110. 8) Internet Address of WorkStation
  111. 9) Logical Connection Number
  112.  
  113. Tricks:
  114. -------
  115. When XMETER creates semaphores, it adds the letters XM- to the front
  116. of the semaphore name. So semaphore TEST is really XM-TEST. The idea
  117. here is so that all XMETER semaphores can be indetified from other
  118. Netware semaphores.
  119.  
  120. Whenever a workstation first uses XMETER it creates a semaphore
  121. named XM-XMETER. This can be used to see how many users are using
  122. XMETER software. This semaphore can be cleared by using the command:
  123.  
  124. XMETER XMETER/C
  125.  
  126. If a user turns off their computer while running an application,
  127. Novell will release their semaphores after 15 minutes. All
  128. semaphores are also released when the user logs out. If a user
  129. reboots within 15 minutes, the semaphores are cleared upon login.
  130.  
  131. Market Position:
  132. ----------------
  133. This software package is not the best program out there. It is
  134. designed around being a simple 'just works' solution to software
  135. metering. It is flexable and uses no memory on the workstation. I am
  136. looking for feedback on this product.
  137.  
  138. For more sophisticated software metering use MarxMenu.
  139.  
  140. Paying for this program:
  141. ------------------------
  142. XMETER is distributed as SHAREWARE. This is the honor system. It
  143. isn't a free program. You can evaluate this program but if you
  144. implement it for usage you are expected to pay for it.
  145.  
  146. I would like to thank those who have paid for this program so that
  147. my family can continue to EAT, and I can continue to write more
  148. programs like this instead of working at a REAL JOB.
  149.  
  150. Other Computer Tyme Software:
  151. ======================================================
  152.  
  153. The Computer Tyme Dos ToolBox... Makes DOS easier for the novice,
  154. more powerful for the professional.
  155.  
  156. DIRECTORY MASTER is a powerful hard disk managment utility. It
  157. brings up your hard disk files and allows you to mark selected
  158. files so you can copy them, delete them, or move them. It also
  159. allows you to rename files, change dates, and change attributes.
  160. You can also run programs or set up your function keys to run
  161. programs on selected files.
  162.  
  163. DOLIST makes being at DOS easier. It gives you full line editing,
  164. like a word processor, for your commands. It also stores commands
  165. so that you can re-execute them. It remembers subdirectories and
  166. allows you to go back to them by pressing the TAB key. It offers
  167. programmable function keys, DOS extensions, multiple execution,
  168. and many more features you have got to have.
  169.  
  170. PICK DIRECTORY allows you to move through the directory system by
  171. displaying a graphic tree and letting you use your arrow keys to
  172. move around. It also lets you create, delete, rename, and hide
  173. directories.
  174.  
  175. TEDIT (from SemWare) is a powerful, easy to use full screen
  176. editor.
  177.  
  178. MARXTSR is a set of memory and TSR management utilities that let
  179. you load and unload TSRs (Terminate and stay resident programs)
  180. from memory. Utilities to list menory allocation and turn TSR's
  181. on and off.
  182.  
  183. And many more ... Also includes is D, a fancy directory listing
  184. program; WHEREIS, for finding stuff on you hard disk, SORT, MOVE,
  185. FIND, FREE, PIPEDIR, VERSION, and many more.
  186.  
  187. The Dos Toolbox sells for $59.95.
  188.  
  189. ======================================================
  190.  
  191. We are also selling QEdit from Semware. QEdit is a professional
  192. editor from Semware. TEdit is a mini version of QEdit. If you
  193. like TEdit, You'll love QEdit.
  194.  
  195. 1-800-548-5353 Order Line
  196. 1-417-866-1222 Voice Line
  197. 1-417-866-1665 BBS Data line * 1200/2400 * 8N1 * ANSI or VT100
  198.  
  199.  
  200. MARXMENU:
  201.  
  202. For the menu user who is interested in POWER!
  203.  
  204. MarxMenu version is a menu system that uses NO RAM. MarxMenu is
  205. compatible with all networks and contains a powerful menu language.
  206. This language gives you complete screen control as well as
  207. conditional menus. Math and string functions as well as
  208. multidimensional arrays are supported. MarxMenu can read environment
  209. variables, ports, ram locations, time, dates, the contents of text
  210. files, ect. and make decisions on them.
  211.  
  212. Screen control includes multi-layer exploding windows with
  213. unlimited number of selections and unlimited windows. 43/50 line
  214. ega and vga modes are supported. MarxMenu contains a screen
  215. blanker, password security on anything, keyboard lockout.
  216. MarxMenu can run programs while staying resident and read the dos
  217. errorlevel codes they return or marxmenu can return custom
  218. errorlevel codes to a calling program or batch file. MarxMenu can
  219. view text files in a window, read text files into an array and
  220. let you choose a line from that array in a window. MarxMenu can
  221. write string arrays to text files.
  222.  
  223. This menu system is targeted at the user whose primary interest
  224. is POWER! Here is a simple sample of what MarxMenu script looks
  225. like:
  226.  
  227. ==========================================
  228.  
  229. ;This menu is a sample of a simple menu.
  230. ;To run this menu type 'MARX SAMPLE'
  231.  
  232. TextColor Yellow Red
  233. ClearScreen
  234. BoxBorderColor Green Blue
  235. BoxInsideColor Yellow Blue
  236. DrawBox 25 7 32 13
  237. WriteCenter '* Sample Menu *'
  238. Writeln
  239. Writeln
  240. Writeln '   A - Directory'
  241. Writeln '   B - Wide Directory'
  242. Writeln '   C - Run ChkDsk'
  243. Writeln '   D - Type Menu to Screen'
  244. Writeln '   E - Edit This Menu'
  245. Writeln '   F - Drop to Dos'
  246. Writeln ' Esc - Exit'
  247. Writeln
  248. Write ' Select: '
  249.  
  250. OnKey 'A'
  251.    DIR
  252.    Pause   ;Lets you see the directory before screen clears
  253.  
  254. Onkey 'B'
  255.    DIR/W
  256.    Pause
  257.  
  258. OnKey 'C'
  259.    CHKDSK
  260.    Pause
  261.  
  262. OnKey 'D'
  263.    TYPE SAMPLE.MNU|MORE
  264.    Pause
  265.  
  266. OnKey 'E'
  267.    TEDIT SAMPLE.MNU
  268.  
  269. OnKey 'F'
  270.    @Echo To Return to the SAMPLE menu type EXIT
  271.    @Echo .
  272.    COMMAND
  273.  
  274.  
  275. MarxMenu comes with MarxEdit and MARXTSR manager and a few goodies out of
  276. the DOS ToolBox. The Network Survival Kit is a network version of almost
  277. every utility I've ever written. It's sold on a per fileserver basis.
  278.  
  279.               _______
  280.          ____|__     |               (tm)
  281.       --|       |    |-------------------
  282.         |   ____|__  |  Association of
  283.         |  |       |_|  Shareware
  284.         |__|   o   |    Professionals
  285.       -----|   |   |---------------------
  286.            |___|___|    APPROVED VENDOR
  287.  
  288.    ==========================================
  289.  
  290.  
  291.  
  292.  
  293.         Make Check            Computer Tyme            Order Form
  294.         Payable To:    411 North Sherman Suite 300
  295.                           Springfield Mo. 65802
  296.                      (417) 866-1222  (800) 548-5353
  297.  
  298.         Please send me Computer Tyme Software.
  299.  
  300.         =============================================================
  301.  
  302.         Name:        ________________________________________________
  303.  
  304.         Address:     ________________________________________________
  305.  
  306.         City/St/Zip: ________________________________________________
  307.  
  308.         Phone:       ________________________________________________
  309.  
  310.         Computer:    ________________________________________________
  311.  
  312.         Got From:    ________________________________________________
  313.  
  314.         Comments:    ________________________________________________
  315.  
  316.  
  317.         Single User Version:
  318.  
  319.         ___ Enclosed is $59.95 for MarxMenu.
  320.  
  321.         ___ Enclosed is $59.95 for the DOS ToolBox.
  322.  
  323.         ___ Enclosed is $99.95 for MarxMenu, the Dos ToolBox and DM3.
  324.  
  325.  
  326.         Network Version (1 per file server):
  327.  
  328.         ___ Enclosed is $95 for XMeter.
  329.  
  330.         ___ Enclosed is $495 for Network Survival Kit.
  331.  
  332.         ___ Add $3.00 for Shipping and Handling.
  333.  
  334.         ___ I need 3 1/2 Inch Media.
  335.  
  336.  
  337.         Credit Card Number: _______________ Expiration Date: ________
  338.  
  339.         Signature: __________________________________________________
  340.  
  341.         Master Card __   Visa __   Discover __
  342.  
  343.                     * We do not take American Express *
  344.  
  345.         =============================================================
  346.